package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "question")//试题
public class Question implements java.io.Serializable{
    private static final long serialVersionUID = 7333262243868299861L;
    private ObjectId id; //主键id
    private String questionNumber; //试题编号
    private String questionName; //题目名称
    private Integer level; //题目级别 初级1，中级2，高级3 枚举
    private Long created; //创建时间
}
